package csdn;

import mammuthus.client.ConfClient;
import net.csdn.ServiceFramwork;
import net.csdn.bootstrap.Application;

/**
 * Hello world!
 *
 */
public class AppClient
{
    public static void main( String[] args )
    {

        ServiceFramwork.scanService.setLoader(AppClient.class);
       // ServiceFramwork.registerStartWithSystemServices(ConfClient.class);
        Application.main(args);
        ConfClient confClient = ServiceFramwork.injector.getInstance(ConfClient.class);


        //ZKClientWrapper client = confClient.getZKClientWrapper();
        //confClient.updateConf("/common/logging.yml", "11111");
        System.out.println("----" + confClient.getConf("/test/log4j.properties"));

    }
}
